package com.topisv.tms.entity;

import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.web.dto.LeveDTO;

@Entity
@Table(name="customer_area_group")
public class CustomerAreaGroup extends IdEntity{
	 /**
	 * 
	 */
	 private static final long serialVersionUID = 1L;
	 private String customerCode;// varchar(50) DEFAULT NULL COMMENT '客户编码',
	 private String  areaGroupCode ;//varchar(50) NOT NULL COMMENT '网点编码',
	 private String  areaLists ;//varchar(1024) DEFAULT NULL COMMENT '覆盖区域',
	 private Date   updateDate ;//datetime DEFAULT NULL COMMENT '数据更新时间',
	 private String groupCodes;
	 private String level;//优先级
	 private String cainiaoAddressStatus;//打印菜鸟是否使用仓库地址 0：是  1：否
	 private String areaGroupName;//仓库名称
	 @Transient
	 public String getAreaGroupName() {
		return areaGroupName;
	}
	public void setAreaGroupName(String areaGroupName) {
		this.areaGroupName = areaGroupName;
	}
	public String getCainiaoAddressStatus() {
		return cainiaoAddressStatus;
	}
	public void setCainiaoAddressStatus(String cainiaoAddressStatus) {
		this.cainiaoAddressStatus = cainiaoAddressStatus;
	}
	private List<LeveDTO> leveDTOs;
	 
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getAreaGroupCode() {
		return areaGroupCode;
	}
	public void setAreaGroupCode(String areaGroupCode) {
		this.areaGroupCode = areaGroupCode;
	}
	public String getAreaLists() {
		return areaLists;
	}
	public void setAreaLists(String areaLists) {
		this.areaLists = areaLists;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public String getGroupCodes() {
		return groupCodes;
	}
	public void setGroupCodes(String groupCodes) {
		this.groupCodes = groupCodes;
	}
	@Transient
	public List<LeveDTO> getLeveDTOs() {
		return leveDTOs;
	}
	public void setLeveDTOs(List<LeveDTO> leveDTOs) {
		this.leveDTOs = leveDTOs;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	
}
